// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
const ztmz = require('./ztmz')

// This method is called when your extension is activated
// Your extension is activated the very first time the command is executed

/**
 * @param {vscode.ExtensionContext} context
 */
async function activate(context) {

	// Use the console to output diagnostic information (console.log) and errors (console.error)
	// This line of code will only be executed once when your extension is activated
	console.log('Congratulations, your extension "ztmz-pacenote" is now active!');
	
	// Register monaco compatible commands
	let subscriptions = await ztmz.getSubscriptions(context);
	context.subscriptions.push(...subscriptions);
	// subscriptions.forEach(subscription => context.subscriptions.push(subscription));
}

// This method is called when your extension is deactivated
async function deactivate() {}

module.exports = {
	activate,
	deactivate
}

